// redux最核心的store
import { createStore, applyMiddleware } from "redux";
import countReducer from "./count_reducer";
import thunk from "redux-thunk";
import { composeWithDevTools } from "redux-devtools-extension";
const store = createStore(
  countReducer,
  composeWithDevTools(applyMiddleware(thunk))
);
// 引入composeWithDevTools，用于

export default store;
